home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / mus / misc / NSM_tnw041b.lha / tracknameswindow / quittracknameswindow.c < prev    next >
C/C++ Source or Header  |  1999-01-07  |  381b  |  26 lines

  1. /* A small plug-in that tells the tracknameswindow
  2.    to quit. Link with annomanno.o and /octacontrol.o.
  3.  
  4.    Made by Kjetil S. Matheussen 1999.
  5. */
  6.  
  7.  
  8.  
  9.  
  10. #include "tracknameswindow.h"
  11.  
  12. void main(void){
  13.     OCTABASE ob;
  14.  
  15.     if((ob=getoctabase())==0) goto exit;
  16.  
  17.     if(strcmp(gettrackname(ob,0,0),"QNM"))
  18.         sendrexx("SG_LOADANNOTEXT \"nsm:plainnames\"");
  19.  
  20.     settracknamedata(ob,65);
  21.  
  22. exit:
  23. }
  24.  
  25.  
  26.